import pyglet


class my_muchal:
    def __init__(self):
        self.current_player= pyglet.media.Player()

    def play_music(self,media_source, loop=True):
        self.current_player.queue(media_source)
        self.current_player.loop = loop  # 是否循环播放
        self.current_player.play()
    def pause_music(self):
        self.current_player.pause()

# class my_effect_muchal:
#     def __init__(self):


